package com.huiqiao.lesson5.dao.impl;

import com.huiqiao.lesson5.dao.IRoleDao;
import org.springframework.context.annotation.Primary;
import org.springframework.stereotype.Component;

@Component("db1")
//@Primary
public class MysqlRoleDao implements IRoleDao {

    @Override
    public void getRole() {
        System.out.println("Mysql role");
    }
}
